package com.ztf.room.utils;



public class ResultInfo {


    public static Result success(Object data){
        return new Result(CodeConstant.SUCCESS,"",data);
    }

    public static Result success() {
        return new Result(CodeConstant.SUCCESS,"",null);
    }

    public static Result err(String msg){
        return new Result(CodeConstant.ERR,msg,null);
    }


}
